package com.zhixue.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhixue.content.model.dto.*;
import com.zhixue.content.model.po.CourseBase;
import com.zhixue.model.*;
import com.zhixue.r.R;


/**
 * @Auther: 李 力
 * @Date: 2025/4/6
 * @Description: com.zhixue.content.service
 * @version: 1.0
 */

public interface CourseBaseService extends IService<CourseBase> {

    //分页查询
    PageResult<CourseBase> selectPageList(String JGId,PageParams pageParams, QueryCourseParamsDto paramsDto);

    //新增课程
    CourseBaseInfoDto addCourse(AddCourseDto addCourseDto, Long companyId);

    CourseBaseInfoDto getInfoById(Long courseId);

    CourseBaseInfoDto updateCourse(Long companyId, EditCourseDto editCourseDto);

    R deleteById(Long id);
}
